package com.cloud.tsp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.api.domain.tsp.QueryTenant;
import com.cloud.api.domain.tsp.QueryVehicle;
import com.cloud.api.domain.tsp.VehicleTenant;
import com.cloud.mybatis.domain.TableDataInfo;

import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author haohaibo
 * @since 2023-11-27
 */
public interface IVehicleTenantService extends IService<VehicleTenant> {

    TableDataInfo<VehicleTenant> selectTenantList(QueryTenant para);
    Long selectTenantCount();

    List<Integer> selectVehicleCountMonth();
    void insertOrUpdate(VehicleTenant para);

    void exportTenantList(QueryTenant para, HttpServletResponse response) throws IOException;

}